﻿namespace GoodAdmin.System;

public class SysImportErrorListService : DbRepository<SysImportErrorList>,ISysImportErrorListService,ITransient 
{
    
    public async Task<SysImportErrorList> GetById(long id)
    {
        var result = await GetByIdAsync(id);
        return result;
    }

    public async Task<long> Save(SysImportErrorList input)
    {
        await InsertAsync(input);
        return input.Id;
    }
    public async Task Delete(long id)
    {
        await DeleteAsync(it=>it.Id==id);
    }
}
